<!doctype html>
<html lang="en" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
</head>
<body>

<h1>hello spring boot</h1>
<h1>首页</h1>
<hr>
<div shiro:hasPermission="user:add">
    跳转到用户新增页面 : <a href="user/add">新增</a><br>
</div>
<div shiro:hasPermission="user:update">
    跳转到用户修改页面 : <a href="user/update">修改</a>
</div>
</body>
</html>